//
//  CommunityEvaModel.h
//  BaseProject
//
//  Created by 王洋 on 2020/12/15.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN


@interface CommunityEvaModel : NSObject

@property (nonatomic, copy) NSString *commonId;

@property (nonatomic, copy) NSString *userHeadUrl;
@property (nonatomic, copy) NSString *userId;
@property (nonatomic, copy) NSString *userNickName;


@property (nonatomic, copy) NSString *replyUserId;
@property (nonatomic, copy) NSString *replyUserNickName;
@property (nonatomic, copy) NSString *replyUserHeadUrl;
@property (nonatomic, copy) NSString *replySource;


//内容
@property (nonatomic, copy) NSString *content;
//创建时间
@property (nonatomic, copy) NSString *createTime;
//创建人
@property (nonatomic, copy) NSString *createUser;

@property (nonatomic, copy) NSString *isZan;
//是否删除（1：是，2：否）
@property (nonatomic, copy) NSString *isDel;

//点赞数量
@property (nonatomic, assign) NSInteger likes;


//评论ID
@property (nonatomic, copy) NSString *cpId;

@property (nonatomic, copy) NSString *cspId;

//回复内容ID(删除用)
@property (nonatomic, copy) NSString *cspnId;

@property (nonatomic, copy) NSString *level;


@property (nonatomic, copy) NSString *pid;

@property (nonatomic, copy) NSString *reason;

@property (nonatomic, copy) NSString *replyCount;


@property (nonatomic, copy) NSString *source;

@property (nonatomic, strong) NSMutableArray<CommunityEvaModel *> *sysPostChildSideList;


//自定义字段


@property (nonatomic, assign) CGFloat itemHeight;

//展示的数量
@property (nonatomic, assign) NSInteger itemSize;

@property (nonatomic, assign) NSInteger itemTotal;

//是否折叠
@property (nonatomic, assign) BOOL isFold;

//评论富文本
@property(nonatomic,strong)NSMutableAttributedString *evaContentAttr;

@end

/*
                 commonId = 8027117970258931712;
                 content = "\U8bc4\U8bba\U4e0b";
                 cpId = 8027117970258931712;
                 createTime = "2020-12-15 17:24:34";
                 createUser = 15305608830;
                 isDel = 2;
                 isZan = "";
                 likes = "";
                 otherId = "";
                 pid = 8025296910013181952;
                 reason = "";
                 remark = "";
                 replyCount = 1;
                 replyUserId = "";
                 source = 2;
                 status = 1;
                 sysPostChildSideList =                 (
                                         {
                         commonId = 8027517345383591936;
                         content = "\U8003\U8651\U8003\U8651";
                         cpId = 8027117970258931712;
                         createTime = "2020-12-16 19:51:32";
                         createUser = "";
                         cspId = 8027517345383591936;
                         isDel = 2;
                         isZan = "";
                         likes = 0;
                         otherId = 8027517345270345729;
                         pid = 8025296910013181952;
                         reason = "";
                         remark = "";
                         replyCount = 1;
                         replySource = "";
                         replyUserHeadUrl = "";
                         replyUserId = 8024468631938596864;
                         replyUserNickName = "\U7528\U62370001";
                         source = 2;
                         status = 1;
                         sysPostChildSideNextList =                         (
                         );
                         updateTime = "";
                         updateUser = "";
                         userHeadUrl = "";
                         userId = 8009345006925578240;
                         userNickName = "\U6700\U5927\U7684\U5976";
                     }
 */

NS_ASSUME_NONNULL_END
